package com.carb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@Schema(description = "修改物品库存传递的数据模型")
public class ItemStockUpdateDTO implements Serializable {

    @Schema(description = "物品id",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "数量",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer quantity;

    @Schema(description = "备注")
    private String note;

}
